<template>
  <div>
    <Header></Header>
    <router-view></router-view>
    <Footer v-show="$route.meta.show"></Footer>
  </div>
</template>

<script>
import Header from './components/header/header.vue'
import Footer from './components/footer/footer.vue'
export default {
  name: 'App',
  data() {
    return {}
  },
  components: {
    Header,
    Footer,
  },
  mounted() {
    //  拿楼层数据mock
    this.$store.dispatch('home/getFloorList')
    this.$store.dispatch('home/getBannerList')
  },
}
</script>

<style></style>
